<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>群组列表</title>
<include file="Public/header" />
 
</head>
<body>
 
    
 
        <div class="list_vmall_man">
        	<div class="list_vmall_le">
            	<!-- <p class="list_vmall_bin"><a href="<{:U('level')}>" target="_black">会员等级管理</a></p> -->
               

              
                  <include file="./Apps/BoxAdmin/View/Public/adminMenu.html" />
               
            </div>
            <div class="list_vmall_rig">
             <ul class="breadcrumb">
                    <li>帖子分类</li>
                </ul>
            	<div class="list_vmall_bort">
                	<table width="100%" border="1" cellspacing="1" cellpadding="1">
                      <tr>
                        <form action="<{:U('Group/index')}>" method="get">
                        <td style="width:334px" height="46"><input type="text" name="kw" style="margin-left:5px;" value="<{$kw}>" placeholder="名称/简介" /><input type="submit" value="搜索" style="margin-left:4px; height:26px; color:#333" class="btn" /></td>
                        </form>
                    
                        <td height="46" style="width: 116px"><a href="<{:U('Group/add')}>" class="v_mall_q"><i class="v_mall_fi"></i>创建</a></td>
                         
                      </tr>
                    </table>
					<table width="100%" class="v_am_bor_t v_am_td" border="1" cellspacing="1" cellpadding="1">
                      <tr class="v_am_bg_top" height="30">
                        
                        <td height="34" align="center" valign="middle" class="v_am_font">ID</td>
                        <td height="34" align="center" valign="middle" class="v_am_font">分类名称</td>
						 <td height="34" align="center" valign="middle" class="v_am_font">类型</td>
                       <td height="34" align="center" valign="middle" class="v_am_font"  style="width:200px">介绍</td>
					    <td height="34" align="center" valign="middle" class="v_am_font">帖子数</td> 
					  <td height="34" align="center" valign="middle" class="v_am_font">成员数</td> 
                        <td height="34" align="center" valign="middle" class="v_am_font">创建时间</td>
                     
						
                        <td height="34" align="center" valign="middle" class="v_am_font" style="border-right:0;">操作</td>
                      </tr>
                     <volist name="data" id="vo">
                      <tr>
                      
                         

                      
                        <td height="36" align="center" valign="middle" style="width:80px"><{$vo.id}></td>
                        <td height="36" align="center" valign="middle"><a target="_blank" href="<{$group_url}><{:U('Index/index',array('group_id'=>$vo['group_id']))}>"><{$vo.group_name}></a></td>
						 <td height="36" align="center" valign="middle"><{$vo.type}></td>
						  <td height="36" align="center" valign="middle"  style="width:300px"><p style="width:300px; padding:2px;"><{$vo.info}></p></td> 
						   <td height="36" align="center" valign="middle"><a href="<{:U('Group/topic',array('group_id'=>$vo['id'],'type'=>$vo['type']))}>"><{$vo.topic_count}></a></td> 
                         <td height="36" align="center" valign="middle"><a href="<{:U('Group/member',array('group_id'=>$vo['id']))}>"><{$vo.user_count}></a></td> 
                        <td height="36" align="center" valign="middle"><{$vo.addtime|date='Y-m-d H:i', ###}></td>
                    
                       	 
                        <td style="border-right:0;"  height="36" align="center" valign="middle">
                          
                             
                            <a  href="<{:U('add',array('group_id'=> $vo['id']))}>" class="btn"><i class="v_mall_tubg v_mall_tj2"></i>&nbsp;编辑</a>
							 
                            <a onclick=" return confirm('确认要删除吗？')" href="<{:U('del_group',array('group_id'=> $vo['id']))}>" class="btn"><i class="v_mall_tubg v_mall_tj2"></i>&nbsp;删除</a>   
						<a  href="<{:U('Group/add_topic',array('group_id'=> $vo['id'],'type'=>$vo['type']))}>" class="btn"><i class="v_mall_tubg v_mall_tj2"></i>&nbsp;创建帖子</a>
							
                           
                        </td>
                      </tr>
                      </volist>  
                    
                    </table>
					
                   <include file="./Apps/BoxAdmin/View/Ace/Public/pager.html" />

                
                </div>
            </div>
       
        
    </div>


    <div id="send-message" class="add-form">
        <div class="title">发送系统消息<span>×</span></div>
        <form id="form2">
            <div class="s">
               <textarea name="content"></textarea>
            </div>
            <button class="v_mall_q_1 yes" type="submit" style="border:0; height:32px; padding-top:0; cursor:pointer;">确  定</button>
             <button class="v_mall_q_1 colse" type="button" style="border:0; height:32px; padding-top:0; cursor:pointer;background: #C0C0C0;">取　消</button>
        </form>

    </div>


    <div class="notice">
        <div class="title">发送状态<span>×</span></div>
    </div>
 
</body>
</html>
